<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        td{
            border: 1px solid black;
            padding: 15px;
        }
        table{
            border-collapse:collapse;
        }
    </style>
    <script>
        document.write("<h1 align='center'>99乘法表</h1>");
        document.write("<table align='center'>")
        for(let i = 1;i< 10;i++) {
            document.write("<tr>")
            for(let j = 1;j<= i;j++) {
                document.write("<td>"+i+" * "+j+" = "+(i*j)+"</td>");
            }
            document.write("</tr>")
        }
        document.write("</table>")
    </script>
</head>
<body>

</body>
</html>